1
0
-1

Hi;
I need to update about 150 issues programmatically based on the "summary" field of issues.

Is it possible, using JiraJelly, to:

  • do a search for an issue based on it's summary value
  • return the issue KEY
  • edit the issue

Something like:

<jira:search field="summary" value="issue summary value to find" issueKey="issueID"/>
<jira:update key="${issueID}" field_to_update="value to set">

Thanks

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      All available Jelly tags for JIRA are listed there: http://confluence.atlassian.com/display/JIRA/Jelly+Tags. Jelly core tags are documented there: http://commons.apache.org/jelly/tags.html

      I tried updating issue fields by Jelly some time but it was a real headache. There are currently no Jelly tags that support field updates. So you have to use generic Jelly tags and call JIRA's API for field updates. That is really awful and error-prone.

      If you want to update those 150 issues only once, the best would be to do it manually :-) If this should be done on a regular basis, you should consider writing a plugin to use the JIRA API directly (and not through Jelly). Maybe a service module is an option for you.

      CommentAdd your comment...