Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How can I add custom or standard variables in the following pipe: jira-create-issue:0.2.0


I integrated jira-create-issue:0.2.0 in my pipeline. Defined IssueType is getting created successfully in my project.

My query is, how can I add more variables in the following snippet? I want to use as many fields as possible while creation.

  - pipe: atlassian/jira-create-issue:0.2.0
      JIRA_BASE_URL: "<string>"
      JIRA_USER_EMAIL: "<string>"
      JIRA_API_TOKEN: "<string>"
      JIRA_PROJECT: "<string>"
      JIRA_ISSUE_SUMMARY: "<string>"

I tried to add one Standard variable "assignee":"<accountID>", but after the issue is created, the Assignee field remains blank. (There is not error returned though after script)

1 answer

1 accepted

1 vote
Answer accepted

Hi @Rohan Bhardwaj . Thanks for your question.

As far as i understand according to jira-rest-api-examples and  jira-api-python you can add assignee only on update request, not on create.

Custom fields are supported by the api but not on the pipe.

We will think about  implementing custom fields logic and example, assignee logic and example. We will notify you when these features becomes available.

Regards, Igor.

Thank you very much @Igor Stoyanov I am eagerly waiting for the implementation

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events